<div id="gauche">
    <div>
        <h2><?php echo $clanInfo['abbreviation']; ?></h2>
        <dl>
            <dt>Membres : <?php echo $clanInfo['members_count']?></dt>
            <dt>Tanks au garage : <?php echo $clanStats['tanks']?></dt>
            <dt>ER : <?php echo $clanStats['ER']?> - <?php echo $personnalStats['ER']?></dt>
            <dt>WN7 : <?php echo $clanStats['WN7']?> - <?php echo $personnalStats['WN7']?></dt>
            <dt>WN8 : <?php echo $clanStats['WN8']?> - <?php echo $personnalStats['WN8']?></dt>
            <dt>Win Rate : <?php echo $clanStats['winRate']?> - <?php echo $personnalStats['winRate']?></dt>
        </dl>
    </div>

	<div id="calendrier">
	<h2>Agenda</h2>
	    <?php foreach ($agendaGauche as $dateEventG => $eventGauche) {?>
        <dl>
			<dd><?php echo $dateEventG;?></dd>
			<?php foreach ($eventGauche as $subEvent) {?>
    			<dt>
    			 <a href="<?php echo $baseUri;?>Agenda/AfficherDetail/<?php echo $subEvent['agenda_id']?>" id="cal<?php echo $subEvent['agenda_id']?>" title="<?php echo 'inscrits : ',$subEvent[1], '&#10;backup : ', $subEvent[3], '&#10;absents : ', $subEvent[2] ;?>">
    			    <img class="icone" src="<?php echo $subEvent['image'];?>" /><?php echo $subEvent['nom']?> <span><?php echo '(<span class="inscrits">'.$subEvent[1].'</span><span class="backup">'.$subEvent[2].'</span><span class="absents">'.$subEvent[3].'</span>)';?></span>
    			    <?php if($subEvent['imageStatus'] !== '') {?>
    			    <img src="<?php echo $baseUri;?><?php echo $subEvent['imageStatus']; ?>" />
			    <?php }?></a>
    			</dt>
    			<dt class="lien">
    			<?php foreach ($subEvent['liens'] as $lien) {?>
    			<a href="<?php echo $lien['url']?>"> <?php echo $lien['libelle']?></a> - 
    			<?php } ?>
			     </dt>
			<?php } ?>
			
		</dl>
	    <?php } ?>
		<p><a href="<?php echo $baseUri;?>Agenda/Afficher">Voir plus...</a></p>
	</div>
</div>